import { createApp } from "vue";
import { createPinia } from "pinia";
// import { ElContainer, ElHeader, ElMain, ElFooter, ElIcon } from "element-plus";
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

/* markdown */

import VMdEditor from '@kangc/v-md-editor';
import '@kangc/v-md-editor/lib/style/base-editor.css';
import githubTheme from '@kangc/v-md-editor/lib/theme/github.js';
import '@kangc/v-md-editor/lib/theme/style/github.css';
VMdEditor.use(githubTheme);


import App from "./App.vue";
import router from "./router";

import "./assets/main.css";

const app = createApp(App);
app.use(ElementPlus)
app.use(createPinia());
app.use(router);
/* 编辑 */
app.use(VMdEditor);
/* 安装组件 */
// app.use(ElContainer);
// app.use(ElHeader);
// app.use(ElMain);
// app.use(ElFooter);
// app.use(ElIcon);


app.mount("#app");
